Ulm Ux Api
TMF666- Retrieve BillingAccount Information By AccountNumber
GET /accounts/{accountNo}
This use case is used to retrieve the account details by using account Number.
URL
https://nonprod.cwp.esb.cloud.lla.com/dev/ulm-ux-cwp/ulm-ux/v1/{businessId}/accounts/{accountNo}URL PARAMS
| name | type | description | required |
|---|---|---|---|
| businessId | string | 2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit. | Y |
| accountNo | string | identity of the customer | Y |
Header
| name | value | description | required |
|---|---|---|---|
| client_id | string | The client_id identifying the channel. Minimum characters: 5 | Y |
| client_secret | string | Password associated with the client_id. Minimum characters: 5 | Y |
| X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. | N |
cURL Request
curl --location --request GET 'https://nonprod.cwp.esb.cloud.lla.com/dev/ulm-ux-cwp/ulm-ux/v1/PA/accounts/213027240000' \
--header 'client_secret: xxxxxxx' \
--header 'client_id: xxxxxxxx' \
--header 'X-Correlation-ID:2-23d2c8d0-2fb4-11ef-94fc-005056a2a8c5' \Response
{
"recordId": "PAgetAccounts20250106114208059",
"accountNo": "213027240000",
"accountName": "HOTEL IDEAL, S.A.",
"title": "PA",
"firstName": "HOTEL",
"lastName": "IDEAL, S.A.",
"otherName": "",
"companyName": "",
"accountStatusCode": "W",
"accountIsActive": true,
"accountCategoryCode": "",
"accountClassificationCode": "",
"accountTypeCode": "",
"baseAccountType": "",
"accountCurrencyCode": "",
"accountEmailAddress": "",
"tosCategory": "",
"sourceBSS": "LIBERATE",
"legalEntityCode": "PA",
"marketingCategoryDescription": "PA",
"supportsRecurringPayments": true,
"migratedToBSS": "",
"migratedToAccountNo": 0,
"currentCollectionAction": "",
"billingInfo": {
"accountNo": "213027240000",
"billMedia": "Non-paper Based Bill",
"billDeliveryEmailAddress": "",
"billLanguageCode": "",
"lastPaymentDate": "2024-04-02T14:40:27-05:00",
"lastPaymentAmount": 1602.94,
"lastBillDueDate": "2024-11-01T00:00:00-05:00",
"lastBillAmount": 1602.94,
"currentOutstandingBalance": 3205.88,
"billingAddress": {
"addressLines": [
"PANAMA SAN FRANCISCO",
"SAN FRANCISCO",
"CALLE 69",
"CASA 42",
""
],
"postCode": ""
}
}
}